/* wallet.css */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f0f4f8;
  margin: 0;
  padding: 20px;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

h1, h2, h3 {
  color: #1a202c;
  margin-bottom: 0.5em;
}

h1 {
  text-align: center;
}

div.section {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 600px; /* 限制最大宽度 */
}

p, input, textarea, button {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  box-sizing: border-box;
}

button {
  background-color: #2563eb;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 16px; /* 增加按钮文字大小 */
}

button:hover {
  background-color: #1d4ed8;
}

textarea {
  height: 100px;
  resize: vertical;
}

/* 模态框样式 */
.modal {
  display: none; /* 默认隐藏 */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

/* 模态框内容样式 */
.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* 关闭按钮样式 */
.close-button {
  display: block;
  margin: 10px auto;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border: none;
  cursor: pointer;
  text-align: center;
  border-radius: 4px;
}

.close-button:hover {
  background-color: #555;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    margin: 20% auto;
  }
}